@import "media-queries";

.mpy-error {
  position: relative;
  .mpy-error-box {
    position: absolute;
    height: 45rem;
    top: -9rem;
    margin-top: 50%;
    .mpy-error-hd {
      position: relative;
      .error-img {
        border: 0;
        margin: 0 auto;
      }
      .error-state {
        position: absolute;
        top: 1.2rem;
        left: 50%;
        margin-left: -8rem;
        h1 {
          color: #616161;
          margin: 0;
          font-size: 7rem;
          -webkit-transform: rotate(-10deg);
          -moz-transform: rotate(-10deg);
          -ms-transform: rotate(-10deg);
          -o-transform: rotate(-10deg);
          transform: rotate(-10deg);
        }
      }

    }
    .mpy-error-bd {
      text-align: center;
      h1 {
        font-size: 2rem;
        margin: 0;
        line-height: 3rem;
        color: #000;
      }
      .error-btn {
        margin: 0.5rem auto;
        width: 50%;
      }
    }
  }
}

@media (min-width: 481px) {
  .mpy-error {
    position: relative;
    .mpy-error-box {
      position: absolute;
      height: 45rem;
      top: -9rem;
      margin-top: 50%;
      .mpy-error-hd {
        position: relative;
        .error-img {
          border: 0;
          margin: 0 auto;
        }
        .error-state {
          position: absolute;
          top: 1rem;
          left: 50%;
          margin-left: -7rem;
          h1 {
            color: #616161;
            margin: 0;
            font-size: 5.5rem;
          }
        }
      }
      .mpy-error-bd {
        text-align: center;
        h1 {
          font-size: 1rem;
          margin: 0;
          line-height: 1.5rem;
          color: #000;
        }
        .error-btn {
          font-size: 0.5rem;
          line-height: 1.6rem;
          height: 1.5rem;
          margin: 0.5rem auto;
          width: 30%;
        }
      }
    }
  }
}
@media (min-width: 641px) {
  .mpy-error {
    .mpy-error-box {
      position: absolute;
      height: 12rem;
      top: -12rem;
      margin-top: 50%;
      .mpy-error-hd {
        .error-state {
          position: absolute;
          top: 0.5rem;
          left: 50%;
          margin-left: -5.5rem;
          h1 {
            color: #616161;
            margin: 0;
            font-size: 4.5rem;
          }
        }
      }
    }
  }
}
@media (min-width: 768px) {
  .mpy-error {
    .mpy-error-box {
      .mpy-error-hd {
        .error-state {
          position: absolute;
          top: 0.5rem;
          left: 50%;
          margin-left: -5rem;
          h1 {
            color: #616161;
            margin: 0;
            font-size: 4rem;
          }
        }

      }
    }
  }
}

@media (min-width: 901px) {
  .mpy-error {
    position: relative;
    .mpy-error-box {
      position: absolute;
      width: 20rem;
      height: 22rem;
      left: 50%;
      top:50%;
      margin-left: -10rem;
      margin-top: 6rem;
      .mpy-error-hd {
        position: relative;
        .error-img {
          border: 0;
          margin: 0 auto;
        }
        .error-state {
          position: absolute;
          top: 0.5rem;
          left: 50%;
          margin-left: -4rem;
          h1 {
            color: #616161;
            margin: 0;
            font-size: 3rem;
            -webkit-transform: rotate(-10deg);
            -moz-transform: rotate(-10deg);
            -ms-transform: rotate(-10deg);
            -o-transform: rotate(-10deg);
            transform: rotate(-10deg);
          }
        }

      }
      .mpy-error-bd {
        text-align: center;
        margin-top: 1rem;
        h1 {
          margin: 0;
          font-size: 1rem;
          line-height: 1.5rem;
          color: #000;
        }
        .error-btn {
          font-size: 0.5rem;
          line-height: 1.6rem;
          height: 1.5rem;
          margin: 0.5rem auto;
          width: 30%;
        }
      }
    }
  }
}
